*{
	margin: 0;
	padding: 0;
}
li{
	list-style: none;
}
body{
	background-color: gainsboro;
}
/* logo部分 */
#logo{
	height:150px;
	background-color: #000000;
	text-align: center;
}
#logo .logo{
	width: 200px;
	height: 90px;
	margin-top: 30px;
}
/* 中间部分 */
#sel{
	width: 900px;
	height:400px;
	/* border: 1px solid black; */
	margin: 50px auto;
	
}	
#header{
	height: 50px;
	width: 900px;
	background-color: white;
	line-height: 50px;
	box-sizing: border-box;
	padding: 0 20px;
	margin-bottom: 20px;
}
#header #in1{
	
	/* width: 10px;
	height: 10px; */
}
#header span{
	color: gray;
}
#header span:nth-of-type(1){
	margin-left: 20px;
}
#header span:nth-of-type(2){
	margin-left: 300px;
}
#header span:nth-of-type(3){
	margin-left: 80px;
}
#header span:nth-of-type(4){
	margin-left: 80px;
}
#header span:nth-of-type(5){
	margin-left: 80px;
}



/* 中间 */
#center{
	width: 900px;
	height: 200px;
	box-sizing: border-box;
	padding: 50px 20px;
	background-color: white;
	margin: 20px 0;
	display: flex;
}
#center #in2,#danjia,#count,#xiaoji{
	height: 100px;
	line-height: 100px;
}
#center #in2{
	
	margin-right: 20px;
}
#center img{
	width: 100px;
	height: 100px;
}
/* 商品名和数量 */
#center .ec{
	width: 100px;
	height: 100px;
	margin-right: 106px;
	margin-left: 10px;
}
.ec .ename{
	margin-bottom: 10px;
}


/* 单价 */
#center #danjia{
	margin-left: 60px;
	
}
/* 数量*/
#center #count{
	width:100px;
	margin-left: 53px;
	
}
#center #count .prev{
	width:30px;
	height:30px;
}
#center #count .next{
	width: 30px;
	height:30px;
}

/* 小计 */
#center #xiaoji{
	color:red;
	font-weight: bold;
	margin-left:22px;
	font-size: 20px;
	
}
#center #delete{
	width: 100px;
	height: 30px;
	margin-left:47px;
	margin-top: 35px;
}







/* 底部 */
#footer{
	width: 900px;
	height: 50px;
	background-color: white;
	box-sizing: border-box;
	padding:0  20px;
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}
#footer #fleft{
	width: 100px;
	height: 50px;
	line-height: 50px;
	
}
#footer #fright{
	width: 290px;
	height: 50px;
	box-sizing: border-box;
	padding: 5px;
}
#footer #fright #text{
	float: left;
}
#footer #fright #text .num{
	display: inline-block;
	width: 30px;
	height: 20px;
	font-weight: bold;
	font-size: 20px;
	text-align: center;
}
#footer #fright button{
	float: right;
	width:150px;
	height: 40px;
	background-color: firebrick;
	border: none;
	color: white;
}


/* 尾部 */
#lastend{
	background-color: white;
}
#end {
	width: 860px;
	height: 183px;
	background-color:white;
	margin: 0 auto;
	overflow: hidden;
	font-size: 10px;
	text-align: center;
}

#end p {
	margin-top: 30px;
}

#end ul {
	width: 187px;
	height: 15px;
	margin: 15px auto;
}

#end li {
	list-style: none;
	float: left;
}

#end .end-p {
	margin-top: 10px;
	margin-bottom: 15px;
}

#end .end-p a {
	color: black;
	cursor: pointer;
}


/* 右侧导航栏 */
#right {
	width: 50px;
	height: 100px;
	position: fixed;
	right: 0;
	bottom: 100px;
}

#right img {
	/* 去除图片3像素留白 */
	display: block;
}
